<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>购物车</title>
    <link href="../css/bootstrap.min.css" rel="stylesheet">
  </head>
  <body style="background-color:#eee; background-image:url(../photo/car.jpg)" >
 <div>
 <table width="24%">
 <tr>
     <td><h3>我的购物车</h3></td>
	<td><a href="./user_checkOutView"><input type="button" value="结算"/></a></td>
 </tr>
 </table>
  
	</div>

          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
                <tr>
                  <th>商品名称</th>
                  <th>商品价格</th>
			   <th>商品图片</th>
			 
			   
                </tr>
              </thead>
              <tbody>
			  <c:forEach items="${sessionScope.gwc}" var="good">
                <tr>
                  <td style="text-align:center; line-height:50px;"><span style="float:left">${good.goodsName}</span></td>
                  <td style="text-align:center; line-height:50px;"><span style="float:left">${good.goodsPrice}</span></td>
                  <td><img src="${good.shopPic}" style="width:70px;height:50px; float:left;"></td>
                  
			
			  
		       
                </tr>
		</c:forEach>
   
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
    <script src="../js/jquery-3.0.0.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
  </body>
</html></em>